Integrand size = 12, antiderivative size = 80 \[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=\frac {\cos (c+d x) \left ((b \csc (c+d x))^p\right )^n \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {1}{2} (1-n p),\frac {1}{2} (3-n p),\sin ^2(c+d x)\right ) \sin (c+d x)}{d (1-n p) \sqrt {\cos ^2(c+d x)}} \]
[Out]
Time = 0.06 (sec) , antiderivative size = 80, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {4208, 3857, 2722} \[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=\frac {\sin (c+d x) \cos (c+d x) \left ((b \csc (c+d x))^p\right )^n \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {1}{2} (1-n p),\frac {1}{2} (3-n p),\sin ^2(c+d x)\right )}{d (1-n p) \sqrt {\cos ^2(c+d x)}} \]
[In]
[Out]
Rule 2722
Rule 3857
Rule 4208
Rubi steps \begin{align*} \text {integral}& = \left ((b \csc (c+d x))^{-n p} \left ((b \csc (c+d x))^p\right )^n\right ) \int (b \csc (c+d x))^{n p} \, dx \\ & = \left (\left ((b \csc (c+d x))^p\right )^n \left (\frac {\sin (c+d x)}{b}\right )^{n p}\right ) \int \left (\frac {\sin (c+d x)}{b}\right )^{-n p} \, dx \\ & = \frac {\cos (c+d x) \left ((b \csc (c+d x))^p\right )^n \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {1}{2} (1-n p),\frac {1}{2} (3-n p),\sin ^2(c+d x)\right ) \sin (c+d x)}{d (1-n p) \sqrt {\cos ^2(c+d x)}} \\ \end{align*}
Time = 0.19 (sec) , antiderivative size = 71, normalized size of antiderivative = 0.89 \[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=-\frac {\cos (c+d x) \left ((b \csc (c+d x))^p\right )^n \operatorname {Hypergeometric2F1}\left (\frac {1}{2},\frac {1}{2} (1+n p),\frac {3}{2},\cos ^2(c+d x)\right ) \sin (c+d x) \sin ^2(c+d x)^{\frac {1}{2} (-1+n p)}}{d} \]
[In]
[Out]
\[\int \left (\left (b \csc \left (d x +c \right )\right )^{p}\right )^{n}d x\]
[In]
[Out]
\[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=\int { {\left (\left (b \csc \left (d x + c\right )\right )^{p}\right )}^{n} \,d x } \]
[In]
[Out]
\[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=\int \left (\left (b \csc {\left (c + d x \right )}\right )^{p}\right )^{n}\, dx \]
[In]
[Out]
\[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=\int { {\left (\left (b \csc \left (d x + c\right )\right )^{p}\right )}^{n} \,d x } \]
[In]
[Out]
\[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=\int { {\left (\left (b \csc \left (d x + c\right )\right )^{p}\right )}^{n} \,d x } \]
[In]
[Out]
Timed out. \[ \int \left ((b \csc (c+d x))^p\right )^n \, dx=\int {\left ({\left (\frac {b}{\sin \left (c+d\,x\right )}\right )}^p\right )}^n \,d x \]
[In]
[Out]